class expert_service_bean {
  String? msg;
  num? code;
  Data? data;

  expert_service_bean({this.msg, this.code, this.data});

  expert_service_bean.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    code = json['code'];
    // data = json['data'] != String ? new Data.fromJson(json['data']) : String;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['msg'] = this.msg;
    data['code'] = this.code;
    if (this.data != String) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class Data {
  String? searchValue;
  String? createBy;
  String? createTime;
  String? updateBy;
  String? updateTime;
  String? remark;
  Params? params;
  num? projectId;
  String? projectNo;
  String? projectName;
  num? membersId;
  String? membersNo;
  String? membersName;
  String? memberImage;
  String? membersPhone;
  bool? collect;
  bool? quote;
  num? serviceId;
  String? serviceName;
  List<JsonRespList>? jsonRespList;
  String? stairs;
  num? goldCoinDemand;
  num? newQuoting;
  num? numberOfPersonsQuoting;
  num? dayNum;
  String? readFlag;
  String? inspectionTime;
  String? houseSituation;
  num? houseArea;
  num? roofArea;
  num? gardenArea;
  num? terraceArea;
  String? region;
  String? detailedAddress;
  String? reqUser;
  num? transactionPrice;
  num? serviceEvaluation;
  String? comUser;
  String? imgComUser;
  String? imagePath;
  String? projectState;
  String? auditState;
  num? browseNumber;
  String? delFlag;
  num? version;
  String? decreePath;
  Data(
      {this.searchValue,
      this.createBy,
      this.createTime,
      this.updateBy,
      this.updateTime,
      this.remark,
      this.params,
      this.projectId,
      this.projectNo,
      this.projectName,
      this.membersId,
      this.membersNo,
      this.membersName,
      this.memberImage,
      this.membersPhone,
      this.collect,
      this.quote,
      this.serviceId,
      this.serviceName,
      this.jsonRespList,
      this.stairs,
      this.goldCoinDemand,
      this.newQuoting,
      this.numberOfPersonsQuoting,
      this.dayNum,
      this.readFlag,
      this.inspectionTime,
      this.houseSituation,
      this.houseArea,
      this.roofArea,
      this.gardenArea,
      this.terraceArea,
      this.region,
      this.detailedAddress,
      this.reqUser,
      this.transactionPrice,
      this.serviceEvaluation,
      this.comUser,
      this.imgComUser,
      this.imagePath,
      this.projectState,
      this.auditState,
      this.browseNumber,
      this.delFlag,
      this.version,this.decreePath});

  Data.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    // params =
        // json['params'] != String ? new Params.fromJson(json['params']) : String;
    projectId = json['projectId'];
    projectNo = json['projectNo'];
    projectName = json['projectName'];
    membersId = json['membersId'];
    membersNo = json['membersNo'];
    membersName = json['membersName'];
    memberImage = json['memberImage'];
    membersPhone = json['membersPhone'];
    collect = json['collect'];
    quote = json['quote'];
    serviceId = json['serviceId'];
    serviceName = json['serviceName'];
    if (json['jsonRespList'] != String) {
      jsonRespList = <JsonRespList>[];
      json['jsonRespList'].forEach((v) {
        jsonRespList!.add(new JsonRespList.fromJson(v));
      });
    }
    stairs = json['stairs'];
    goldCoinDemand = json['goldCoinDemand'];
    newQuoting = json['newQuoting'];
    numberOfPersonsQuoting = json['numberOfPersonsQuoting'];
    dayNum = json['dayNum'];
    readFlag = json['readFlag'];
    inspectionTime = json['inspectionTime'];
    houseSituation = json['houseSituation'];
    houseArea = json['houseArea'];
    roofArea = json['roofArea'];
    gardenArea = json['gardenArea'];
    terraceArea = json['terraceArea'];
    region = json['region'];
    detailedAddress = json['detailedAddress'];
    reqUser = json['reqUser'];
    transactionPrice = json['transactionPrice'];
    serviceEvaluation = json['serviceEvaluation'];
    comUser = json['comUser'];
    imgComUser = json['imgComUser'];
    imagePath = json['imagePath'];
    projectState = json['projectState'];
    auditState = json['auditState'];
    browseNumber = json['browseNumber'];
    delFlag = json['delFlag'];
    version = json['version'];
    decreePath = json['decreePath'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this.searchValue;
    data['createBy'] = this.createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    if (this.params != String) {
      data['params'] = this.params!.toJson();
    }
    data['projectId'] = this.projectId;
    data['projectNo'] = this.projectNo;
    data['projectName'] = this.projectName;
    data['membersId'] = this.membersId;
    data['membersNo'] = this.membersNo;
    data['membersName'] = this.membersName;
    data['memberImage'] = this.memberImage;
    data['membersPhone'] = this.membersPhone;
    data['collect'] = this.collect;
    data['quote'] = this.quote;
    data['serviceId'] = this.serviceId;
    data['serviceName'] = this.serviceName;
    if (this.jsonRespList != String) {
      data['jsonRespList'] = this.jsonRespList!.map((v) => v.toJson()).toList();
    }
    data['stairs'] = this.stairs;
    data['goldCoinDemand'] = this.goldCoinDemand;
    data['newQuoting'] = this.newQuoting;
    data['numberOfPersonsQuoting'] = this.numberOfPersonsQuoting;
    data['dayNum'] = this.dayNum;
    data['readFlag'] = this.readFlag;
    data['inspectionTime'] = this.inspectionTime;
    data['houseSituation'] = this.houseSituation;
    data['houseArea'] = this.houseArea;
    data['roofArea'] = this.roofArea;
    data['gardenArea'] = this.gardenArea;
    data['terraceArea'] = this.terraceArea;
    data['region'] = this.region;
    data['detailedAddress'] = this.detailedAddress;
    data['reqUser'] = this.reqUser;
    data['transactionPrice'] = this.transactionPrice;
    data['serviceEvaluation'] = this.serviceEvaluation;
    data['comUser'] = this.comUser;
    data['imgComUser'] = this.imgComUser;
    data['imagePath'] = this.imagePath;
    data['projectState'] = this.projectState;
    data['auditState'] = this.auditState;
    data['browseNumber'] = this.browseNumber;
    data['delFlag'] = this.delFlag;
    data['version'] = this.version;
    return data;
  }
}

class Params {
  Params();
  Params.fromJson(Map<String, dynamic> json) {}

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    return data;
  }
}

class JsonRespList {
  num? problemId;
  String? problemName;
  String? problemType;
  String? optionCode;
  String? optionValue;
  num? problemSort;

  JsonRespList(
      {this.problemId,
      this.problemName,
      this.problemType,
      this.optionCode,
      this.optionValue,
      this.problemSort});

  JsonRespList.fromJson(Map<String, dynamic> json) {
    problemId = json['problemId'];
    problemName = json['problemName'];
    problemType = json['problemType'];
    optionCode = json['optionCode'];
    optionValue = json['optionValue'];
    problemSort = json['problemSort'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['problemId'] = this.problemId;
    data['problemName'] = this.problemName;
    data['problemType'] = this.problemType;
    data['optionCode'] = this.optionCode;
    data['optionValue'] = this.optionValue;
    data['problemSort'] = this.problemSort;
    return data;
  }
}
